<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>事件绑定解除</title>
</head>
<body>
    <input type="button" id="b1" value="点我">
    <input type="button" id="b2" value="解除">
</body>
    <script src="../../js/jquery-3.3.1.min.js"></script>
    <script>
        //给b1绑定单击事件
        $("#b1").on("click",function (){
           alert("还是不懂------");
        });

        //通过b2解除b1事件
        $("#b2").on("click",function (){
           $("#b1").off("click");
        });


    </script>
</html>